package test;

import java.util.HashSet;

public class lengthOfLongestSubstring {

    public int lengthOfLongestSubstring(String s) {
        if ("".equals(s) || null == s) {
            return 0;
        }

        int length = s.length();
        if (0 > length || length > 5 * 104) {
            return length;
        }


        char[] chars = s.toCharArray();
        HashSet<Object> objects = new HashSet<>();
        for (int i = 0; i < length; i++) {

        }
        return 0;
    }
}
